package com.gitee.shoes.crawler.core.shihuo;

import com.gitee.shoes.crawler.core.IResp;
import lombok.Data;

/**
 * @author LYH
 */
@Data
class ShihuoResp<T> implements IResp {

    private Integer status;
    private String msg;
    private T data;

    @Override
    public boolean isSuccess() {
        return this.status == 0;
    }
}
